'''
Description: 
Author: Zilu
Date: 2021-11-08 16:42:34
Version: 
LastEditTime: 2021-11-08 16:45:23
LastEditors: Zilu
'''

class Student(object):
    def __init__(self, name, score):
        self.name = name
        self.score = score
    def get_grade(self):
        if self.score > 100 or self.score < 0:
            raise ValueError('score should between 0~100')
        if self.score >= 80:
            return 'A'
        elif self.score >= 60:
            return 'B'
        return 'C'
